home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
progjour
/
1991
/
01
/
b_delete.c
< prev
next >
Wrap
Text File
|
1990-10-31
|
457b
|
12 lines
/* b_delete.c -- Listing 6. */
#include <stdlib.h>
#include "textbuf.h"
PUBLIC void b_delete( textbuf *b ) /* Free a textbuf allocated by */
{ /* a previous b_malloc(). */
if( b_destruct( b ) ) /* Explicitly declared textbuf's */
free( b ); /* can be destroyed with an ex- */
} /* plicit b_destruct() call. */